//@auther foolbread
//@time 2016-03-09
//@file ApnsHttp2/apns/apns_message.go
package apns

import (
	"github.com/sluu99/uuid"
)

type ApnsMessage struct {
	Uid    uuid.UUID      `json:"-"`
	Uidstr string         `json:"-"`
	M      messageContent `json:"message"`
}

type messageContent struct {
	Data     string `json:"data"`
	Expiry   int    `json:"expiry"`
	Sn       string `json:"sn"`
	Token    string `json:"token"`
	Type     int    `json:"type"`
	DataByte []byte `json:"-"`
}
